package com.demo.util;

import java.util.HashMap;

//用于保存表现时多个课程列的情况
public class DataParse {

    private String sid;
    private String name;
    private HashMap<String,Integer> courseAndMark = new HashMap<>() ;
    private double credit;
    private int rank;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public HashMap<String, Integer> getCourseAndMark() {
        return courseAndMark;
    }

    public void setCourseAndMark(HashMap<String, Integer> courseAndMark) {
        this.courseAndMark = courseAndMark;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }
}
